package com.guiji.quartz.task;

import com.guiji.quartz.domain.CCTVSociety;
import com.guiji.quartz.domain.Economictimes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @create: 2021-10-14 10:28
 **/
@Component("economictimesTask")
public class EconomictimesTask {//https://economictimes.indiatimes.com/tech/technology/whatsapp-integrates-joinable-calls-in-group-chats/articleshow/87116513.cms
	private static final Logger log = LoggerFactory.getLogger(EconomictimesTask.class);
	public void economictimesTask() {
		log.info("economictimesTask-start");
		Long startTime = System.currentTimeMillis();
		Economictimes economictimes = new Economictimes();
		try {
			economictimes.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("economictimesTask-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
